package com.ykdl.member.kid.beans;

import java.io.Serializable;
import java.util.ArrayList;

import com.google.gson.Gson;
import com.google.gson.GsonBuilder;

import net.wxxr.http.interfaces.IJsonParser;

public class Show_ScoreBean implements Serializable, IJsonParser{

	/**
	 * "point_type_list": [
        {
            "name": "惠生活",
            "region": "北京",
            "point_type_id": 1,
            "score": 18,
            "issue_type": 0,
            "brand": "惠生活品牌",
            "icon": {
                "url": "http://imgs.ykdllmyr.com/stores/2015/3/5/rBrisjXfdwMqroHZpDs8t8.jpeg",
                "file_id": 7,
                "file_path": "stores/2015/3/5/rBrisjXfdwMqroHZpDs8t8.jpeg"
            }
        }
    ],
    "actor_info": {
        "gender": 1,
        "birthday": "14263179180",
        "display_name": "singled",
        "address": "北京市海淀区海淀黄庄"
    },
    "card_ids": [
        {
            "card_name": "6号店",
            "store_id": 7,
            "card_id": 7,
            "actor_id": 100000026,
            "file": {
                "url": "http://imgs.ykdllmyr.com/stores/2015/2/4/gvwmiAQCEktLehg4JuTE8J.jpeg",
                "file_id": 67,
                "file_path": "stores/2015/2/4/gvwmiAQCEktLehg4JuTE8J.jpeg"
            },
            "created_time": 1425883483
        }
    ]
	 */
	private static final long serialVersionUID = -5957485538345983321L;
	private ArrayList<Point_typeBean>  point_type_list ;
	private Actor_InfoBean actor_info;
	private ArrayList<StoreInfoBean> card_ids ;
	private String desc ;
	private String error ;
	public String getDesc() {
		return desc;
	}
	public String getError() {
		return error;
	}
	public ArrayList<Point_typeBean> getPoint_type_list() {
		return point_type_list;
	}
	public Actor_InfoBean getActor_info() {
		return actor_info;
	}
	public ArrayList<StoreInfoBean> getCard_ids() {
		return card_ids;
	}
	@Override
	public IJsonParser parse(String json) throws Exception {
		// TODO Auto-generated method stub
		Gson   gson = null;
		if(null != json){
			GsonBuilder b = new GsonBuilder();
			gson  = b.create();
			return gson.fromJson(json, Show_ScoreBean.class);
		}
		return null;
	}

}
